package com.example.ccj.b.c.ui.install;

public class InstallJump extends InstallItem{
    public InstallJump(String installName){
        this.installName = installName;
    }

    public InstallJump(String installName, String beginText){
        this.installName = installName;
        this.beginText = beginText;
    }

    /**
     *
     * @param installName 设置名称
     * @param select 选择回调
     */
    public InstallJump(String installName, JumpOnClickListener select){
        this.installName = installName;
        this.select = select;
    }

    private JumpOnClickListener select;//点击选择回调
    private String beginText;//初始文字
    private boolean isSelect;

    @Override
    public int getType() {
        return TYPE_JUMP;
    }

    public JumpOnClickListener getSelect() {
        return select;
    }

    public void setSelect(JumpOnClickListener select) {
        this.select = select;
    }

    public String getBeginText() {
        return beginText;
    }

    public void setBeginText(String beginText) {
        this.beginText = beginText;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }
}
